package com.fzshang.shopping.api.controller;


import com.fzshang.shopping.commen.bean.Classification;
import com.fzshang.shopping.commen.bean.User;
import com.fzshang.shopping.commen.bean.layuiBean.ResultPage;
import com.fzshang.shopping.commen.bean.layuiBean.VoPage;
import com.fzshang.shopping.commen.controller.BaseController;
import org.apache.http.util.EntityUtils;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 * 微信信息 前端控制器
 * </p>
 *
 * @author 冯政尚
 * @since 2020-03-03
 */
@Controller
@RequestMapping("admin/user")
public class UserController extends BaseController {

    @RequestMapping(value = "user.html")
    public String user(){
        return "admin/user/user";
    }

    /**
     * @param voPage
     * @return 后台查询
     */
    @RequestMapping(value = "selectMyPage",method = RequestMethod.GET)
    @ResponseBody
    public ResultPage<User> selectMyPage(VoPage voPage){
        return userService.selectMyPage(voPage);
    }



}
